package com.donget.tasklibrary;

/**
 *
 */

public class Constants {

    public static final int GRIDVIEW_COLUMN = 4;

    public static final int MAX_SELECT_NUM = 99;

    public static final int REQUEST_PERMISSION_STORAGE = 0x01;
    public static final int REQUEST_PERMISSION_CAMERA = 0x02;

    public static final int REQUEST_CODE_TAKE = 1001;
    public static final int REQUEST_CODE_CROP = 1002;
    public static final int REQUEST_CODE_PREVIEW = 1003;

    public static final int RESULT_CODE_RECORD_VIDEO = 1006;
    public static final int RESULT_CODE_CHOOSE_VIDEO = 1007;
    public static final int RESULT_CODE_CONFIRM_VIDEO = 1008;
    public static final int RESULT_CODE_CONFIRM_IMAGE = 1009;

    // 头像裁剪区域
    public static final int PORTRAIT_IMAGE_WIDTH = 720;

    public static final String EXTRA_RESULT_ITEMS = "extra_result_items";
    public static final String EXTRA_SELECTED_IMAGE_POSITION = "selected_image_position";
    public static final String EXTRA_IMAGE_ITEMS = "extra_image_items";
    public static final String EXTRA_TARGET_FEED = "extra_target_feed";
    public static final String EXTRA_ORIGIN_FEED = "extra_origin_feed";
    public static final String EXTRA_IMAGE_PREVIEW_FROM_PICKER = "extra_image_preview_from_picker";

    public static final String RESULT_EXTRA_CONFIRM_IMAGES = "RESULT_EXTRA_CONFIRM_IMAGES";

    public static final String IS_ORIGIN = "isOrigin";

    //充电桩的支付类型
    public static final String CART_PAY_TYPE_BY_CDZ = "cart_pay_type_by_cdz";
    public static final String ALI_PAY_TYPE_BY_CDZ = "ali_pay_type_by_cdz";
    public static final String WX_PAY_TYPE_BY_CDZ = "wx_pay_type_by_cdz";

    //点击登录
    public static final String MALL_FRAGMENT_LOGIN = "login";
    //点击取消登录&&退出登录
    public static final String MALL_FRAGMENT_RELOAD = "reload";
    //有赞商城授权弹窗
    public static final String MALL_FRAGMENT_DIALOG = "dialog";
}
